package com.zeng.jiudian.dao;

import com.zeng.jiudian.bean.NewTypeModel;

import java.util.List;

/**
 * @Author JJ_yo
 * @Date 2020/8/13 - 14:14
 */
public interface NewTypeDao
{
    public int add(NewTypeModel newTypeModel);

    public List<NewTypeModel> findAll(NewTypeModel newTypeModel);

    public int getCount(NewTypeModel newTypeModel);

    public NewTypeModel findById(int id);

    public int delete(int id);

    public int update(NewTypeModel newTypeModel);

    public List<NewTypeModel> getAll();
}
